import 'package:baseProjectFlutter/mode/base/base_data.dart';
import 'package:baseProjectFlutter/mode/test_data.dart';
import 'package:baseProjectFlutter/utils/http/http_utils.dart';

import '../utils/http/http_ui_handle.dart';

class ApiMain {
  ApiMain._();

  ///推荐
  static Future<HttpResult<List<TestData>>> recommend(HttpUiHandle? handle) async =>
      await HttpUtils.request<HttpResult<List<TestData>>>(
        handle: handle,
        queryParameters: {"action": "recommend"},
      );
}
